#ifndef SCREENTHREAD_H
#define SCREENTHREAD_H

#include <QThread>
#include <QWidget>

#include "screenwidget.h"

class ScreenThread : public QThread
{
public:
    ScreenThread(QWidget *s);

    ScreenWidget *getScreenWidget();

//protected:
    void run();

private:
    QWidget *screen;
    ScreenWidget* w;

//private slots:
//    void refresh();
};

#endif // SCREENTHREAD_H
